//============================================================================================
/**
 * @file	factory_ui.h
 * @brief	バトルファクトリー インターフェース関連
 * @author	Hiroyuki Nakamura
 * @date	08.11.26
 */
//============================================================================================
#ifndef	FACTORY_UI_H
#define	FACTORY_UI_H

#include "system/cursor_move.h"


//============================================================================================
//	定数定義
//============================================================================================

enum {
	FACTORYUI_NORMAL_POKE1 = 0,
	FACTORYUI_NORMAL_POKE2,
	FACTORYUI_NORMAL_POKE3,
	FACTORYUI_NORMAL_POKE4,
	FACTORYUI_NORMAL_POKE5,
	FACTORYUI_NORMAL_POKE6,
	FACTORYUI_NORMAL_MENU1,
	FACTORYUI_NORMAL_MENU2,
	FACTORYUI_NORMAL_MENU3,

	FACTORYUI_TRADE_POKE1 = 0,
	FACTORYUI_TRADE_POKE2,
	FACTORYUI_TRADE_POKE3,
	FACTORYUI_TRADE_END,
	FACTORYUI_TRADE_MENU1,
	FACTORYUI_TRADE_MENU2,
	FACTORYUI_TRADE_MENU3,

	FACTORYUI_TRADE_GET_POKE1 = 0,
	FACTORYUI_TRADE_GET_POKE2,
	FACTORYUI_TRADE_GET_POKE3,
	FACTORYUI_TRADE_GET_POKE4,
	FACTORYUI_TRADE_GET_RET,
	FACTORYUI_TRADE_GET_END,
	FACTORYUI_TRADE_GET_MENU1,
	FACTORYUI_TRADE_GET_MENU2,
};


//============================================================================================
//	プロトタイプ宣言
//============================================================================================

extern void FACTORYUI_CursorMoveExit( CURSOR_MOVE_WORK * wk );
extern void FACTORYUI_CursorPosGet( CURSOR_MOVE_WORK * mvwk, int pos, int * x, int * y );

extern CURSOR_MOVE_WORK * FACTORYUI_CursorMoveInitNormal( FACTORY_WORK * wk, u32 pos );

extern void FACTORYUI_NormalMenuMoveSet( CURSOR_MOVE_WORK * mvwk, BOOL flg );

extern CURSOR_MOVE_WORK * FACTORYUI_CursorMoveInitTrade( FACTORY_WORK * wk, u32 pos );
extern CURSOR_MOVE_WORK * FACTORYUI_CursorMoveInitTradeMulti( FACTORY_WORK * wk, u32 pos );

extern void FACTORYUI_TradeMenuMoveSet( CURSOR_MOVE_WORK * mvwk, BOOL flg, u32 type );

extern CURSOR_MOVE_WORK * FACTORYUI_CursorMoveChangeTrade( FACTORY_WORK * wk, CURSOR_MOVE_WORK * cmwk );
extern CURSOR_MOVE_WORK * FACTORYUI_CursorMoveChangeTradeGet( FACTORY_WORK * wk, CURSOR_MOVE_WORK * cmwk );

extern void FACTORYUI_TradeGetMenuMoveSet( CURSOR_MOVE_WORK * mvwk, BOOL flg, u32 type );



#endif	// FACTORY_UI_H